// 切换账号登录与扫码登录
//获取元素
const formBox=document.querySelector(".form-box");
const formSeekDl=document.querySelector(".form-seek-dl");//登录
const formSeekZc=document.querySelector(".form-seek-zc");//扫码
const formInputBox=document.querySelector(".form-input-box");//登录界面
const formQR=document.querySelector(".form-QR");//扫码界面
const formSeekSpan2=document.querySelector(".form-seek-span2");//蓝色的下划线
const formRegistrant=document.querySelector(".form-registrant");//立即注册
formSeekDl.addEventListener("click",function(){
    formSeekDl.style.color="rgb(3,197,255)";
    formSeekZc.style.color="rgb(137, 143, 145)";
    formSeekSpan2.style.left="120px";
    formRegistrant.style.textAlign="right";
    formQR.style.display="none";
    formInputBox.style.display="block";
});
formSeekZc.addEventListener("click",function(){
    formSeekZc.style.color="rgb(3,197,255)";
    formSeekDl.style.color="rgb(137, 143, 145)";
    formSeekSpan2.style.left="230px";
    formRegistrant.style.textAlign="left";
    formInputBox.style.display="none";
    formQR.style.display="block";
});
formBox.addEventListener("click", function (e) {
    e.stopPropagation();
});
